/**
 * Created by Administrator on 2017/10/31.
 */
var mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');
var schema = new mongoose.Schema({
    fieldname:String,
    originalname:String,
    encoding:String,
    mimetype:String,
    destination:String,
    filename:String,
    path:String,
    size:String,
    cateId:String,
    date:String,
});
schema.plugin(mongoosePaginate);
var Upload = mongoose.model('Upload', schema,'upload');
module.exports = Upload;

